﻿@model handvn.Models.User
@{
    ViewBag.Title = "Handvn Login";
}
<div class="tl_content">
    <div class="tl_dangnhap">
        <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
        @Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")
        @using (Html.BeginForm())
        {
                <fieldset style="">
                    <legend style="font-size:large">Thông tin đăng nhập</legend>
                    <table cellpadding='2' cellspacing='0' border='0' style="">
                        <tr>
                            <td style="font-weight:600;color:#606060;">
                                    @*@Html.LabelFor(m => m.Username)*@ Tên đăng nhập:
                            </td>
                            </tr>
                        <tr>
                            <td style="line-height:20px">
                                <div class="editor-field">
                                    @Html.EditorFor(m => m.Username)
                                    
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                            <div class="editor-field">
                                  @Html.ValidationMessageFor(m => m.Username)
                                  </div>
                            </td>
                            </tr>
                        <tr>
                            <td style="font-weight:600;color:#606060;">
                                    @* @Html.LabelFor(m => m.Password1)*@ Mật khẩu:
                            </td>
                            </tr>
                        <tr>
                            <td>
                                <div class="editor-field">
                                    @Html.EditorFor(m => m.Password1)
                                </div>
                            </td>
                        </tr>
                         <tr>
                            <td>
                                   <div class="editor-field">
                                    @Html.ValidationMessageFor(m => m.Password1)
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <input class="tl_btn" type="submit" value="ĐĂNG NHẬP" />
                            </td>
                        </tr>
                        <tr>
                            <td class="td_lable">
                                    @Html.CheckBoxFor(m => m.TinhTrang)
                                    Ghi nhớ tài khoản?
                            </td>
                        </tr>
                        <tr>
                            <td class="td_lable">
                                 @Html.ActionLink("Đăng ký", "Register")|@Html.ActionLink("Quên mất khẩu", "Register")
                            </td>
                        </tr>
                        
                    </table>
                </fieldset>
        }
    </div>
</div>
<!-- End Content-->
